import MapModule from '../modules/game/map'
import UIModule from '../modules/game/ui'
import PlayerModule from '../modules/game/player'

export default class GameScene extends Phaser.Scene {

	constructor ()
	{
		super('GameScene')
	}

	preload() {
		this.load.setBaseURL('assets')
	}

	create ()
	{
		this.mapModule = new MapModule(this)
		this.playerModule = new PlayerModule(this)
		this.uiModule = new UIModule(this)
	}

	update (time, delta)
	{
		this.mapModule.update(time, delta)
	}

}